package com.project.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.project.bean.CoachBean;
import com.project.bean.CoachDTO;
import com.project.bean.LessonBean;

public interface LessonMapper {
    int deleteByPrimaryKey(Integer lId);

    int insert(LessonBean record);

    int insertSelective(LessonBean record);

    LessonBean selectByPrimaryKey(Integer lId);

    int updateByPrimaryKeySelective(LessonBean record);

    int updateByPrimaryKey(LessonBean record);

    int insertBatchSelective(List<LessonBean> records);

    int updateBatchByPrimaryKeySelective(List<LessonBean> records);
    
    List<LessonBean> selectByLUId(Integer lUId,Date date,Date date1);
    
    int countLessonByDate(Integer lUId,Date date,Date date1);
    
    double selectPriceByPrimaryKey(Integer lId);
    
	/*
	 * //根据课程条件查询教练 List<LessonBean> findCoachesLessonByPage(Map<String, Object>
	 * map); //查询满足搜索的教练数量 List<LessonBean> findCoachesLessons(Map<String, Object>
	 * map);
	 */

    
}